package com.itboye.sunsun.dialog;

import com.itboye.sunsun.R;
import com.itboye.sunsun.support.BaseDialogFragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class WaitDialog extends BaseDialogFragment {

	String msg="请稍后...";
	public WaitDialog() {
	 
	}

	public WaitDialog(String msg) {
		 this.msg=msg;
	
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View v=LayoutInflater.from(getContext()).inflate(R.layout.dialog, null);
		((TextView)v.findViewById(R.id.msgTv)).setText(msg);
		return v;
	}
}
